const BaseController = require("../../base")

module.exports = class extends BaseController{
	constructor(){
		super()
		this.params = {
			get: ['id']
		}
	}
	async _before(ctx, next){
		console.log("xxx before ###################")
		await next()
	}
	async get(ctx, next){
		// ctx.body = "admin/xxx yes"
		this.success({params: ctx.params}, "xxx yes")
	}
}